import Home from '../pages/Home'
const routes = [
  {
    path:'/',
    component:Home
  },
  {
    path:'/detail/:id',
    component:()=>import(/* webpackChunkName: "group-user" */ '../pages/Detail')
  },
  {
    path:'/login',
    component:()=>import(/* webpackChunkName: "group-user" */ '../pages/Login')
  },
  {
    path:'/person',
    component:()=>import(/* webpackChunkName: "group-user" */ '../pages/Person')
  },
  {
    path:'/update',
    component:()=>import(/* webpackChunkName: "group-user" */ '../pages/Update')
  },
  {
    path:'/store',
    component:()=>import(/* webpackChunkName: "group-user" */ '../pages/Store')
  },
  {
    path:'/:pathMatch(.*)*',
    redirect:'/'
  }
]
export default routes
